# !/bin/bash
# 用于菜单设计

PS3="Choices?"
select choices in query add delete update list exit
do
	case "$choices" in
		query) echo "Call query routine."
			break;;
		add) echo "Call add routine."
			break;;
		delete) echo "Call delete routine."
			break;;
		update) echo "Call update routine."
			break;;
		list) echo "Call list routine."
			break;;
		exit) echo "Call exit routine."
			break;;
	esac
done
echo "Your choice is $choices"